<template>
  <MicroRender :page-id="pageId" :designer="designer"></MicroRender>
</template>

<script setup lang="ts">
import MicroRender from "@/components/Micro/Render/index.vue";
import { useRoute } from "vue-router";
import { ref } from "vue";
const router = useRoute();
const pageId = parseInt(router.query.pageId as string);
const designer = ref({
  global: {
    design: false,
    appId: undefined,
    datasourceId: undefined,
    tableModel: undefined,
    tableName: undefined,
    primaryColumn: undefined,
    pageList: []
  }
});
</script>

<style scoped></style>
